package de.ifi.lmu.snitzelhunt.util.basics;

/**
 * Class for the Ranking Object
 * 
 * @author jaschkowitz
 * 
 */
public class Ranking {
	private long route_id;
	private String ranking_name;
	private long ranking;

	public long getRoute_id() {
		return route_id;
	}

	public void setRoute_id(long route_id) {
		this.route_id = route_id;
	}

	public Ranking(long route_id, String ranking_name, long ranking) {
		this.route_id = route_id;
		this.ranking_name = ranking_name;
		this.ranking = ranking;
	}

	public String getRanking_name() {
		return ranking_name;
	}

	public void setRanking_name(String ranking_name) {
		this.ranking_name = ranking_name;
	}

	public long getRanking() {
		return ranking;
	}

	public void setRanking(long ranking) {
		this.ranking = ranking;
	}

	/**
	 * no args constructor for gson
	 */
	public Ranking() {
	}

	@Override
	public String toString() {
		StringBuilder sbuild = new StringBuilder();
		sbuild.append(getClass().getName() + " [routeID=" + route_id
				+ "ranking_name=" + ranking_name + " ,ranking=" + ranking + "]");
		return sbuild.toString();
	}
}
